#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QSplitter>
#include <QTreeWidget>
#include <QLabel>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    QTreeWidget *treeFile;
    QSplitter *mainSplitter;
    QSplitter *centerSplitter;
    QSplitter *rightSplitter;

    QLabel *imgOrigin;
    QLabel *imgProcessed;

    QString _folderName;


private slots:
    void initFileTree();
    void showSelectedImg(QTreeWidgetItem*,int);

private:
    Ui::MainWindow *ui;
    void CreateFileTree(QTreeWidget *tree,QString folder);


};

#endif // MAINWINDOW_H
